package com.feemanage.domain.vo;

import com.common.annotation.Excel;
import com.common.utils.poi.MyDataHandler;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.framework.config.BigDecimalSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 项目分类经费执行率
 */
@Data
@ApiModel("学院执行率")
public class ProjectUnitExecuteVo {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty("项目分类代码")
    private String projectTypeCode; //项目分类代码

    @Excel(name="单位名称")
    @ApiModelProperty("单位名称")
    private String unitName; //单位名称

    @ApiModelProperty("单位id")
    private String unitId; //单位id

    @Excel(name="合同金额(元)")
    @ApiModelProperty("合同金额")
    @JsonSerialize(using = BigDecimalSerializer.class)
    private BigDecimal feeAuthorize; //合同金额

    @Excel(name="立项年度")
    @ApiModelProperty("立项年度")
    private String authorizeDate; //立项年度

    @Excel(name="执行周期")
    @ApiModelProperty("执行周期")
    private String executeYear; //执行周期

    @Excel(name="到账率",cellType = Excel.ColumnType.STRING,suffix = "%")
    @ApiModelProperty("到账率")
    @JsonSerialize(using = BigDecimalSerializer.class)
    private BigDecimal incomeRate; //到账率

    @Excel(name="执行率",cellType = Excel.ColumnType.STRING,suffix = "%")
    @ApiModelProperty("执行率")
    @JsonSerialize(using = BigDecimalSerializer.class)
    private BigDecimal executeRate; //执行率

}
